package com.sec.etech.process.model;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.sec.etech.common.ModelBase;
import lombok.Data;

@Data
@TableName("spp_rel_file")
public class SppRelFile extends ModelBase {

    @TableId("rel_file_id")
    private Long relFileId;
    //关联类型 1：路线卡 2：工序卡
    @TableField("target_type")
    private Integer targetType;

    @TableField("target_id")
    private Long targetId;
    //文件类型 1:附件 2:工序图
    @TableField("file_type")
    private String fileType;

    @TableField("fileid")
    private String fileid;

    @TableField(exist = false)
    private String filename;

    @TableField("orderby")
    private Integer orderby;

    @TableField("active")
    private Integer active;
}
